package com;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2023-10-26
 * Time: 21:30
 */

class Student {
    private String name;

    private String gender;

    private int age;

    private double score;

    private static String classRoom = "301";

    public static String getClassRoom() {
        return classRoom;
    }
    public static void func() {
        this.doClass
    }

    public void doClass() {
        System.out.println(this.name + " 在上课!");
    }

    public Student(String name, String gender, int age, double score) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.score = score;
    }
}

public class Test {
    public static void main(String[] args) {
        System.out.println(Student.getClassRoom());
    }
}
